// http://wapps.googlecode.com/git/index.html?loadApps=hiddenS3DBLogin&addmanifest=https://dl.dropbox.com/s/4odtehwgadh43q8/manifestIframeLogin.js?token_hash=AAG26kgQQ5tLdy_7OvLYrf9mCwV1knC2xckkxfvrjAoSLA&dl=1
// http://wapps.googlecode.com/git/index.html?loadApps=hiddenS3DBLogin&addmanifest=http://s3dbapps.googlecode.com/git/manifestIframeLogin.js

wApps.manifest.apps.push(
    {
    "name": "hiddenS3DBLogin",
    "description": "S3DB login through hidden frame",
    "url": "https://code.google.com/p/s3dbapps/source/browse/manifestIframeLogin.js",  
    // https://www.dropbox.com/s/4odtehwgadh43q8/manifestIframeLogin.js
    // 
    "author":"Jonas Almeida",
    "namespace":'secret',
    buildUI:function(id){
        this.require('',
            function(){
                $('#'+id).html('<p style="color:blue">Login and then try to get the s3db key from another wApp ;-) ... </p><p><iframe width=100% height=100 seamless="seamless" src="http://s3dbapps.googlecode.com/git/loginS3DB.html?url=https://uab.s3db.org/s3db",3000)"/></p><p style="color:blue">... or if you want to impress me, a wApp that will alert me to my own key once I login this S3DB login wApp<br></p>direct link to: <a href="https://www.dropbox.com/s/4odtehwgadh43q8/manifestIframeLogin.js" target=_blank>manifest</a>');
            });
        }
    }
)

